/*\
|*| DIALOGS CONTENT
\*/

.dialogsContent {
    display: flex;
    height: 100%;
}

/*\
|*| SIDEBAR
\*/

.sidebar {
    min-width: 200px;
    height: 100%;
    padding: .5rem;
    box-sizing: border-box;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #eee;
}

.searchbar {
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.searchbar input {
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    line-height: 1.2rem;
}

.searchMessage {
    border: var(--default-border);
    border-color: transparent;
    margin: .3rem;
    padding: .3rem;
}

.onlineHeader {
    padding: 0;
    margin: .3rem 0;
}

.usersScroll {
    overflow: auto;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    flex: 1;
    background-color: #ddd;
}

.usersScroll h4 {
    margin: 1rem;
    text-align: center;
}

.user {
    user-select: none;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    margin: .3rem;
    padding: .3rem;
    cursor: pointer;
    background-color: white;
}

/*\
|*| DIALOGS
\*/

.dialogs {
    flex: 4;
    margin-left: .5rem;
    overflow-y: auto;
}

.dialogs h3 {
    text-align: center;
}

.dialog {
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    margin-bottom: .5rem;
    background-color: #ded;
    padding: 1rem;
    cursor: pointer;
}